package com.zisuyi.game.sdk.net.bean;


import com.google.gson.annotations.SerializedName;

public class SmallGameRewardBean {

    /**
     * name : LUCKY_SPIN
     * type : REWARD
     * diamond : 38
     * error :
     */

    @SerializedName("name")
    private String name;
    @SerializedName("type")
    private String type;
    @SerializedName("diamond")
    private Integer diamond;
    @SerializedName("info")
    private InfoDTO info;
    @SerializedName("error")
    private String error;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getDiamond() {
        return diamond;
    }

    public void setDiamond(Integer diamond) {
        this.diamond = diamond;
    }

    public InfoDTO getInfo() {
        return info;
    }

    public void setInfo(InfoDTO info) {
        this.info = info;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public static class InfoDTO {
        /**
         * info : {"count":5,"daily_count":5,"max_count":5,"max_daily_count":200,"name":"LUCKY_SPIN","next_time":0,"reward":23}
         * upload_step : 120
         * enable_upload_detail : false
         */

        @SerializedName("info")
        private SmallGameInfoBean.InfoDTO info;
        @SerializedName("upload_step")
        private Integer uploadStep;
        @SerializedName("enable_upload_detail")
        private Boolean enableUploadDetail;

        public SmallGameInfoBean.InfoDTO getInfo() {
            return info;
        }

        public void setInfo(SmallGameInfoBean.InfoDTO info) {
            this.info = info;
        }

        public Integer getUploadStep() {
            return uploadStep;
        }

        public void setUploadStep(Integer uploadStep) {
            this.uploadStep = uploadStep;
        }

        public Boolean isEnableUploadDetail() {
            return enableUploadDetail;
        }

        public void setEnableUploadDetail(Boolean enableUploadDetail) {
            this.enableUploadDetail = enableUploadDetail;
        }
    }
}
